<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>左右箭头</title>
	<style>
		.father{
			width: 444px;
			height: 333px;
			border: 1px solid #000;
			position: relative;
		}
		p{
			width: 55px;
			background-color: purple;
			color: white;
			border: 1px solid #000;
			position: absolute;
			top: 44%
		}
		.pleft{
			left: 0;
		}
		.pright{
			right: 0;
		}
	</style>
</head>
<body>
	<div class="father">
		<p class="pleft">左箭头</p>
		看两边的箭头
		<p class="pright">右箭头</p>
	</div>
</body>
</html>